package form.ui.component.Checkbox
{
	import form.ui.assets.Compiled;
	import form.ui.core.Button;

	public class CheckBoxOff extends Button
	{
		public function CheckBoxOff()
		{
			super();
			this.mouseUp = new Compiled.CheckBoxSelectedUp();
			this.mouseOver = new Compiled.CheckBoxSelectedOver();
			this.mouseDown = new Compiled.CheckBoxSelectedDown();
			this.disabled = new Compiled.CheckBoxSelectedDisable();
			
			this.enable();
		}
		
		public override function get width():Number
		{
			return mouseUp ? mouseUp.width : 14;
		}
	}
}